com.supermap.ar.areffect
Class ARWebViewElement
- java.lang.Object
-
- com.supermap.ar.areffect.AREffectElement
-
- com.supermap.ar.areffect.ARViewElement
-
- com.supermap.ar.areffect.ARWebViewElement
-
public class ARWebViewElement extends ARViewElement
WebView Uses ViewRenderable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.supermap.ar.areffect.AREffectElement
AREffectElement.onRenderableLoadCompleteListener, AREffectElement.OnTapListener, AREffectElement.OnTouchListener, AREffectElement.PositionType
-
-
Constructor Summary
Constructors Constructor and Description ARWebViewElement(android.content.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetWebUri()Gets the website of the starting pagevoidloadModel(int resourceId)Loads web viewvoidloadModel(java.lang.String webUri)Loads the view (2D model of view)voidsetWebUri(java.lang.String uri)Sets the website of the starting page-
Methods inherited from class com.supermap.ar.areffect.ARViewElement
getView, setHorizontalAlignment, setVerticalAlignment
-
Methods inherited from class com.supermap.ar.areffect.AREffectElement
addChild, addChilds, addOnTapListener, addOnTouchListener, clearAllChilds, destroy, getAllChilds, getChild, getChild, getChild, getChildCount, getElementType, getId, getLocalScaleFactor, getOnRenderableLoadCompleteListener, getPosition, getPositionType, getRelativePosition, getRotationAngle, getRotationAxis, getScaleFactor, getWGSCoordinates, isShadowCaster, isShadowReceiver, isTransformable, isVisible, removeChild, removeChild, removeChild, removeChild, removeOnTapListener, removeOnTouchListener, setElementName, setLocalScaleFactor, setOnRenderableLoadCompleteListener, setParentNode, setParentNode, setParentNode, setPosition, setRelativePosition, setRelativePosition, setRotateAlwaysToCamera, setRotateToCameraType, setRotationAngle, setScaleFactor, setShadowCaster, setShadowReceiver, setTransformable, setVisiblity, setWGSCoordinates
-
-
-
-
Method Detail
-
loadModel
public void loadModel(java.lang.String webUri)
Loads the view (2D model of view)- Parameters:
webUri-
-
getWebUri
public java.lang.String getWebUri()
Gets the website of the starting page- Returns:
-
setWebUri
public void setWebUri(java.lang.String uri)
Sets the website of the starting page- Parameters:
uri-
-
loadModel
public void loadModel(int resourceId)
Loads web view- Overrides:
loadModelin classARViewElement- Parameters:
resourceId- id of the control webView
-
-